// pages/ucenter/bmwutil/bmwutil.js
Page({
  data: {
    banner: ["https://dev.banmachewu.com/youweiapi/images/symbol/banner5.png"],
    indicatorDots: false,
    autoPlay: false,
    spanClass: "",
    hideClose: !0,
    hideLi: !1,
    activeIndex: 0,
    baseUrl: 'https://dev.banmachewu.com/youweiapi/images/symbol'
  },
  onLoad: function (c) { },
  previewBanner: function (c) {
    var o = this.data.banner || [];
    o.length > 0 && wx.previewImage({
      current: "",
      urls: o
    });
  },
  closeBtn: function (c) {
    this.setData({
      activeIndex: 0
    });
  },
  showSpan: function (c) {
    this.setData({
      activeIndex: c.currentTarget.id,
      hideClose: !0,
      hideLi: !1
    });
  },
  onShareAppMessage: function () {
    return {
      title: "宝马、MINI故障灯查询系统",
      path: "pages/ucenter/bmwutil/bmwutil",
      success: function (c) {
        console.log("onShareAppMessage");
      },
      fail: function (c) { }
    };
  }
});